package com.wx.api.pay.impl;

import com.alibaba.fastjson2.JSONObject;
import com.wx.api.pay.IPayService;
import com.wx.api.utils.SpringUtil;
import com.wx.model.dto.PayParameter;
import com.wx.model.dto.PrePayDto;
import com.wx.model.vo.PrePayVo;
import org.springframework.stereotype.Service;


/**
 * 支付宝服务实现
 *
 * @author liaogui
 * @date 2023/12/09
 */
@Service("aliPayService")
public class AliPayServiceImpl implements IPayService {
    @Override
    public boolean support(String type) {
        return SpringUtil.getBean(type) instanceof AliPayServiceImpl;
    }

    @Override
    public PrePayDto createPrepayOrder(PayParameter payParameter) {
        return null;
    }
}
